package com.mayikt;

import org.openjdk.jol.info.ClassLayout;

/**
 * @ClassName Test006
 * @Author 蚂蚁课堂余胜军 QQ644064779 www.mayikt.com
 * @Version V1.0
 **/
public class Test006 extends Thread {
    private MayiktLock mayiktLock = new MayiktLock();

    @Override
    public void run() {

    }

    public void create() {
        synchronized (mayiktLock) {

        }
    }

    public static void main(String[] args) {
        MayiktLock mayiktLock = new MayiktLock();
        System.out.println(Integer.toHexString(mayiktLock.hashCode()));
        System.out.println(ClassLayout.parseInstance(mayiktLock).toPrintable());

    }
}
